/* eslint-disable import/prefer-default-export */
import request from '@/utils/request';

// 员工查询 列表接口
export async function empListData(params) {
  return request(`/esApi/empQuery/queryEmpByKeyword`, {
    method: 'POST',
    body: {
      ...params,
    },
  });
}
export async function getBaseInfo(params) {
  return request(`/esApi/empQuery/queryEmpInfo`, {
    method: 'POST',
    body: {
      ...params,
    },
  });
}
export async function getEntryInfo(params) {
  return request(`/esApi/empQuery/queryEmpEntryInfo`, {
    method: 'POST',
    body: {
      ...params,
    },
  });
}
export async function getEmpInsPayInfo(params) {
  return request(`/esApi/empQuery/queryEmpInsPayInfo`, {
    method: 'POST',
    body: {
      ...params,
    },
  });
}
export async function getEmpAccuPayInfo(params) {
  return request(`/esApi/empQuery/queryEmpAccuPayInfo`, {
    method: 'POST',
    body: {
      ...params,
    },
  });
}
export async function getConsultInfo(params) {
  return request(`/esApi/empQuery/queryEmpConsultInfo`, {
    method: 'POST',
    body: {
      ...params,
    },
  });
}
export async function getEmpInsSerInfo(params) {
  return request(`/esApi/empQuery/queryEmpInsSerInfo`, {
    method: 'POST',
    body: {
      ...params,
    },
  });
}
export async function getEmpInsRefundInfo(params) {
  return request(`/esApi/empQuery/queryEmpInsRefundInfo`, {
    method: 'POST',
    body: {
      ...params,
    },
  });
}
export async function getEmpAccuSerInfo(params) {
  return request(`/esApi/empQuery/queryEmpAccuSerInfo`, {
    method: 'POST',
    body: {
      ...params,
    },
  });
}
export async function getEmpInsCardInfo(params) {
  return request(`/esApi/empQuery/queryEmpInsCardInfo`, {
    method: 'POST',
    body: {
      ...params,
    },
  });
}
export async function getEmpDimissionInfo(params) {
  return request(`/esApi/empQuery/queryEmpDimissionInfo`, {
    method: 'POST',
    body: {
      ...params,
    },
  });
}
export async function getEmpLaborContInfo(params) {
  return request(`/esApi/empQuery/queryEmpLaborContInfo`, {
    method: 'POST',
    body: {
      ...params,
    },
  });
}
export async function getEmpRecordInfo(params) {
  return request(`/esApi/empQuery/queryEmpRcrdSerInfo`, {
    method: 'POST',
    body: {
      ...params,
    },
  });
}

export async function fetchProServiceInfo(params) {
  return request(`/csApi/query/pdInfo/list`, {
    method: 'POST',
    body: params,
  });
}

export async function getAddCon(params) {
  return request(`/esApi/consult/consultById`, {
    method: 'POST',
    body: params,
  });
}

export async function queryConsultRcrdHis(params) {
  return request(`/esApi/consult/queryConsultRcrdHis`, {
    method: 'POST',
    body: params,
  });
}
